import 'package:flutter/material.dart';

import 'package:flutter_app2/route/routes.dart';
import 'package:flutter_app2/view/ParentWidgetCPage.dart';
import 'package:flutter_app2/view/RouterTestRoutePage.dart';
import 'package:flutter_app2/view/SwitchAndCheckBoxTestRoute.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      initialRoute: '/TabViewRoute1',
      title: "Flutter Demo",
      theme: ThemeData(primarySwatch: Colors.blue),
      // home: RouterTestRoute(),
      onGenerateRoute: onGenerateRoute,
    );
  }
}
